<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- enctype="multipart/form-data
         不对字符编码，或在使用包含文件上传控件的表单时，必须使用该值。 -->
    <form action="/index" method="post" enctype="multipart/form-data">
        <div>user:<input type="text" name="user" id=""></div>
        <div>pass:<input type="text" name="pass" id=""></div>
        <input type="file" name="myfile" id="">
        <input type="submit" value="提交">
    </form>
</body>
</html>